package com.sand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sand.dto.supplier.DebtHuan;
import com.sand.dto.supplier.DebtSelecte;
import com.sand.entity.sell.Debt;

import java.util.List;

public interface DebtService extends IService<Debt> {
    /**
     * 添加货款债务
     * @param debt
     * @return
     */
    Integer add(Debt debt);


    /**
     * 还财务
     */
    Integer huan(DebtHuan debtHuan);

    /**
     * 条件查询货款债务
     * @param debtSelecte
     * @return
     */
    List<Debt> all(DebtSelecte debtSelecte);
}
